xen/arm: enable statically shared memory on Dom0
authorPenny Zheng <penny.zheng@arm.com>
Thu, 8 Sep 2022 13:55:12 +0000 (21:55 +0800)
committerStefano Stabellini <stefano.stabellini@amd.com>
Fri, 9 Sep 2022 20:00:10 +0000 (13:00 -0700)
commit09c0a8976acf6fa21fd853c675b2cbde20f56528
treea311df0ecbf3dc9c36e9d1e3dbe22ab165567525
parentc7fe72607a37c0bb251b662006a5020e4d7db67e
xen/arm: enable statically shared memory on Dom0

To add statically shared memory nodes in Dom0, user shall put according
static shared memory configuration under /chosen node.

This commit adds shm-processing function process_shm in construct_dom0
to enable statically shared memory on Dom0.

Signed-off-by: Penny Zheng <penny.zheng@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/domain_build.c